package org.one.afternoon.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.one.afternoon.domain.ClientUser;
import org.one.afternoon.domain.Mine;
import org.one.afternoon.domain.Movie;
import org.one.afternoon.mapper.MineMapper;
import org.one.afternoon.service.MineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MineServiceImpl extends ServiceImpl<MineMapper, Mine> implements MineService {
    @Autowired
    private MineMapper mineMapper;
    @Override
    public List<Movie> findAllMines(Mine mine) {
        List<Movie> mines = mineMapper.findMines(mine);
        return mines;
    }
}
